//
//  File.h
//  Moda.Ru
//
//  Created by Vinogradov Sergey on 05.12.09.
//  Copyright 2009 Moda.Ru. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface File : NSObject {

}

+ (NSString *)rootDir;

+ (BOOL)makeDir:(NSString *)pathToDir;
+ (BOOL)copyDir:(NSString *)pathFromDir to:(NSString *)pathToDir;
+ (BOOL)moveDir:(NSString *)pathFromDir to:(NSString *)pathToDir;
+ (BOOL)removeDir:(NSString *)pathToDir;

+ (BOOL)checkAndMakeDir:(NSString *)pathToDir;

+ (id)readFile:(NSString *)pathToFile;
+ (BOOL)writeFile:(NSString *)pathToFile data:(NSData *)fileData;

@end
